/**  
* @project_name yjd_comm
* @Title: BaoFooOrder.java
* @Package com.yjd.comm.recharge.model
* @Description: TODO
* @author renbangjie renbangjie@126.com  
* @date 2014-9-9 上午9:20:04
* @version V1.0  
* <b>Copyright (c)</b> 2014医信金融信息服务（上海）有限公司-版权所有<br/>
*/
package com.yjd.comm.pay.model;

import com.yjd.comm.base.model.Model;

/**
 * @ClassName: BaoFooOrder
 * @Description: 宝付支付的接口订单类
 * @author renbangjie renbangjie@126.com
 * @date 2014-9-9 上午9:20:04
 */
public class BaoFooOrder extends Model {

	private static final long serialVersionUID = 1L;
	
	private String memberID;  //商户号
	
	private String terminalID;  
	
	private String interfaceVersion;
	
	private String keyType;
	
	private String payID;  //支付渠道
	
	private String tradeDate;  //下单日期
	
	private String transID;  //商户流水号
	
	private String orderMoney;  //订单金额
	
	private String productName;  //商品名称
	
	private String amount;   //商品数量
	
	private String username; //支付用户名称
	
	private String additionalInfo;  //订单附加信息
	
	private String pageUrl; //通知商户页面端地址
	
	private String returnUrl;  //服务器底层通知地址
	
	private String signature;  //计算MD5值
	
	private String noticeType; //通知类型	
	
	private String payUrl;  //提交宝付网关地址
	
	private String mbPayUrl; //手机端提交网关地址
	
	private String result;  //支付结果
	
	private String resultDesc;
	
	private String factMoney;
	
	private String succTime; 
	
	private String key;
	
	private String mark;
	
	private String backMark;
	
	private String rate; //手续费费率(百分比)
	
	public BaoFooOrder() {
	}

	public String getMemberID() {
		return memberID;
	}

	public BaoFooOrder setMemberID(String memberID) {
		this.memberID = memberID;
		return this;
	}

	public String getTerminalID() {
		return terminalID;
	}

	public BaoFooOrder setTerminalID(String terminalID) {
		this.terminalID = terminalID;
		return this;
	}

	public String getInterfaceVersion() {
		return interfaceVersion;
	}

	public BaoFooOrder setInterfaceVersion(String interfaceVersion) {
		this.interfaceVersion = interfaceVersion;
		return this;
	}

	public String getKeyType() {
		return keyType;
	}

	public BaoFooOrder setKeyType(String keyType) {
		this.keyType = keyType;
		return this;
	}

	public String getPayID() {
		return payID;
	}

	public BaoFooOrder setPayID(String payID) {
		this.payID = payID;
		return this;
	}

	public String getTradeDate() {
		return tradeDate;
	}

	public BaoFooOrder setTradeDate(String tradeDate) {
		this.tradeDate = tradeDate;
		return this;
	}

	public String getTransID() {
		return transID;
	}

	public BaoFooOrder setTransID(String transID) {
		this.transID = transID;
		return this;
	}

	public String getOrderMoney() {
		return orderMoney;
	}

	public BaoFooOrder setOrderMoney(String orderMoney) {
		this.orderMoney = orderMoney;
		return this;
	}

	public String getProductName() {
		return productName;
	}

	public BaoFooOrder setProductName(String productName) {
		this.productName = productName;
		return this;
	}

	public String getAmount() {
		return amount;
	}

	public BaoFooOrder setAmount(String amount) {
		this.amount = amount;
		return this;
	}

	public String getUsername() {
		return username;
	}

	public BaoFooOrder setUsername(String username) {
		this.username = username;
		return this;
	}

	public String getAdditionalInfo() {
		if(additionalInfo == null){
			return "";
		}
		return additionalInfo;
	}

	public BaoFooOrder setAdditionalInfo(String additionalInfo) {
		this.additionalInfo = additionalInfo;
		return this;
	}

	public String getPageUrl() {
		return pageUrl;
	}

	public BaoFooOrder setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
		return this;
	}

	public String getReturnUrl() {
		return returnUrl;
	}

	public BaoFooOrder setReturnUrl(String returnUrl) {
		this.returnUrl = returnUrl;
		return this;
	}

	public String getSignature() {
		return signature;
	}

	public BaoFooOrder setSignature(String signature) {
		this.signature = signature;
		return this;
	}

	public String getNoticeType() {
		return noticeType;
	}

	public BaoFooOrder setNoticeType(String noticeType) {
		this.noticeType = noticeType;
		return this;
	}

	public String getPayUrl() {
		return payUrl;
	}

	public BaoFooOrder setPayUrl(String payUrl) {
		this.payUrl = payUrl;
		return this;
	}

	public String getResult() {
		return result;
	}

	public BaoFooOrder setResult(String result) {
		this.result = result;
		return this;
	}

	public String getResultDesc() {
		return resultDesc;
	}

	public BaoFooOrder setResultDesc(String resultDesc) {
		this.resultDesc = resultDesc;
		return this;
	}

	public String getFactMoney() {
		return factMoney;
	}

	public BaoFooOrder setFactMoney(String factMoney) {
		this.factMoney = factMoney;
		return this;
	}

	public String getSuccTime() {
		return succTime;
	}

	public BaoFooOrder setSuccTime(String succTime) {
		this.succTime = succTime;
		return this;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public String getBackMark() {
		return backMark;
	}

	public void setBackMark(String backMark) {
		this.backMark = backMark;
	}

	public String getRate() {
		return rate;
	}

	public void setRate(String rate) {
		this.rate = rate;
	}

	public String getMbPayUrl() {
		return mbPayUrl;
	}

	public void setMbPayUrl(String mbPayUrl) {
		this.mbPayUrl = mbPayUrl;
	}
	
}
